import os

def get_directory_list(path='D:/'):
    try:
        dirs = [d for d in os.listdir(path) if os.path.isdir(os.path.join(path, d))]
        return dirs
    except Exception as e:
        return str(e)

if __name__ == '__main__':
    print(get_directory_list())